package com.nbsaas.boot.data.rest.convert;

import com.nbsaas.boot.data.data.entity.QuerySnippetParam;
import com.nbsaas.boot.data.api.domain.simple.QuerySnippetParamSimple;

import com.nbsaas.boot.rest.api.Converter;

/**
* -列表对象转换器
*/

public class QuerySnippetParamSimpleConvert implements Converter<QuerySnippetParamSimple, QuerySnippetParam> {




@Override
public QuerySnippetParamSimple convert(QuerySnippetParam source) {
    QuerySnippetParamSimple result = new QuerySnippetParamSimple();

                result.setName(source.getName());
                result.setId(source.getId());
                result.setAddDate(source.getAddDate());
                result.setLastDate(source.getLastDate());


    return result;
}

}